package GUI;

import Backend.Album;
import Backend.Song;
import processing.core.*;

public class MainApp extends PApplet {

	private static final long serialVersionUID = -1114446096640144535L;
	private VisualiseAlbum a,b,c,d;
	
	public void setup() {
		size(1000, 600);
		background(0);
		frameRate(20);
		a = new VisualiseAlbum(this, new Album("Siggin",new Song[] {new Song("hello", 15), new Song("there", 24), new Song("there", 40)}),0);
		b = new VisualiseAlbum(this, new Album("Siggi",new Song[] {new Song("hello", 176), new Song("there", 34), new Song("there", 100)}),1);
		c = new VisualiseAlbum(this, new Album("Sigg",new Song[] {new Song("hello", 256), new Song("there", 44), new Song("there", 200)}),2);
		d = new VisualiseAlbum(this, new Album("Sig",new Song[] {new Song("hello", 56), new Song("there", 254), new Song("there", 0)}),3);
	}

	public void draw() {
		a.display();
		b.display();
		c.display();
		d.display();
	}
	
    public static void main(String args[])
    {
      PApplet.main(new String[] { GUI.MainApp.class.getName() });
    }
}